package com.sql.azarias.activity;

import com.sql.azarias.views.ToastView;

/**
 * Created by Administrator on 2017/2/23.
 */

public class SingletonClass {
    private static  SingletonClass singletonClass=null;
    private SingletonClass(){

    }
    public static SingletonClass getInstance(){
        if (singletonClass==null){
            singletonClass = new SingletonClass();

        }
        return singletonClass;
    }
    public enum Singleton {
        INSTANCE;
        public void whateverMethod() {
        }
    }
}
